package com.exchange.View;

import com.exchange.Controller.ExchangeDataRequestListener;
import com.exchange.Public.ExchangeConstants;
import com.exchange.Public.n;
import com.exchange.b.a;
import java.util.List;

class a
  implements ExchangeDataRequestListener
{
  public void dataReceived(int paramInt, List<com.exchange.b.a> paramList)
  {
    if (paramInt == 0)
    {
      n.a(ExchangeConstants.LOG_TAG, "failed to get request data");
      return;
    }
    int i = paramList.size();
    ag localag = this.a;
    if (this.a.i > i);
    while (true)
    {
      while (true)
      {
        localag.i = i;
        ag.a(this.a, paramList.subList(0, this.a.i));
        this.a.a(this.a.e, this.a.f, this.a.h);
      }
      i = this.a.i;
    }
  }
}